package com.refuel.domain;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * @author zhanghao
 * @description
 * @date 2024/5/10 14:34
 **/
@Schema(description = "用户参与活动信息")
public class UserLottery {

    /**
     * 用户ID
     */
    @Schema(description = "用户id", example = "123456")
    private String uid;

    /**
     * 是否参与
     */
    @Schema(description = "是否参与", example = "true")
    private Boolean isParticipate;

    /**
     * 活动ID
     */
    @Schema(description = "活动ID", example = "123456")
    private String activityId;

    /**
     * 抽奖码
     */
    @Schema(description = "抽奖码", example = "GK5235")
    private String lotteryCode;

    /**
     * 是否中奖
     */
    @Schema(description = "抽奖码", example = "true")
    private Boolean isWin;

    /**
     * 奖品信息
     */
    @Schema(description = "奖品信息")
    private Prize prize;

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public Boolean getParticipate() {
        return isParticipate;
    }

    public void setParticipate(Boolean participate) {
        isParticipate = participate;
    }

    public String getActivityId() {
        return activityId;
    }

    public void setActivityId(String activityId) {
        this.activityId = activityId;
    }

    public String getLotteryCode() {
        return lotteryCode;
    }

    public void setLotteryCode(String lotteryCode) {
        this.lotteryCode = lotteryCode;
    }

    public Boolean getWin() {
        return isWin;
    }

    public void setWin(Boolean win) {
        isWin = win;
    }

    public Prize getPrize() {
        return prize;
    }

    public void setPrize(Prize prize) {
        this.prize = prize;
    }
}
